package io.bdmc.modules.bss.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class FibreView extends Model<FibreView> {

    private static final long serialVersionUID = 1L;

    // "路由id")
    @TableId(value = "view_id", type = IdType.AUTO)
    private Integer viewId;

    private Integer viewGroupId;

    private String viewName;

    private Integer fibreId;

    private Integer fibreCoreIndex;

    private String deviceName;

    private Integer channel     ;

    private String bindInfo;

    // "备注")
    private String remark;

    // "创建人")
    private String createBy;

    // "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
}
